num = int(input("Enter a number: "))
b_num = ''
if num == 0:
    b_num = '0'
else:
    while num != 0:
        b_num = str(num % 2) + b_num
        num //= 2
print(int(b_num))
